package com.cn.service;

import com.cn.entity.Person;
import com.cn.mapper.PersonMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PersonService {
    @Autowired
    PersonMapper personMapper;

    public Person selectPersonById(int id){
        return personMapper.selectPersonById(id);
    }
}
